package Mangos::DB::Mangos::SpellPetAuras;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'spell_pet_auras',

    columns => 
    [
        spell    => { type => 'integer', not_null => 1 },
        effectId => { type => 'integer', not_null => 1 },
        pet      => { type => 'integer', not_null => 1 },
        aura     => { type => 'integer', not_null => 1 },
    ],

    primary_key_columns => [ 'spell', 'effectId', 'pet' ],
);

1;

package Mangos::DB::Mangos::SpellPetAuras::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::SpellPetAuras' }

__PACKAGE__->make_manager_methods('spell_pet_auras');

1;
